import React from 'react';
import { SpinLoading } from 'antd-mobile'
import styled from 'styled-components';
const Centerbox = styled.div`
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   height: 100%;
`
const Loading = () => {
    return (
        <Centerbox>
            <SpinLoading style={{ '--size': '48px' }} color='primary' />
        </Centerbox>
    );
}

export default Loading;
